﻿//-----------------------------------------------------------------------
// <Copyright>
// * Copyright (C) 2022 RuYiAdmin All Rights Reserved
// </Copyright>
//-----------------------------------------------------------------------

using Microsoft.AspNetCore.Http;
using RuYiAdmin.Net.DataModel.EntityDataModel.Sys;
using RuYiAdmin.Net.DataRepository.BaseRepository.Implementation;
using RuYiAdmin.Net.DataRepository.BusinessRepository.Interface.Sys;

namespace RuYiAdmin.Net.DataRepository.BusinessRepository.Implementation.Sys
{
    /// <summary>
    /// 行政区域数据访问层实现
    /// </summary>
    public class SysAreaRepository : RuYiAdminBaseRepository<SysArea>, ISysAreaRepository
    {
        /// <summary>
        /// HttpContext对象
        /// </summary>
        private readonly IHttpContextAccessor HttpContext;

        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="HttpContext">HttpContext对象</param>
        public SysAreaRepository(IHttpContextAccessor HttpContext) : base(HttpContext)
        {
            this.HttpContext = HttpContext;
        }
    }
}
